package com.guet.service;

import com.guet.mapper.UserMapper;
import com.guet.pojo.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author MicahYin
 * @date 2020/8/10 21:31
 */
@Service
public class UserServiceImp implements UserService{
    @Autowired
    UserMapper userMapper;
    @Override
    public User queryUserByName(String name) {
        return userMapper.queryUserByName(name);
    }
}
